package com.systop.asset.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class LoginUser {


    private String sessionId;

    /** 用户ID */
    private Long id;

    /** 用户编码 */
    // (name = "用户编码")
    private String userCode;

    /** 登录账号 */
    // (name = "登录账号")
    private String username;


    /** 真实姓名 */
    // (name = "真实姓名")
    private String realName;

    /** 头像URL */
    // (name = "头像URL")
    private String avatar;

    /** 性别 1-男 2-女 3-未知 */
    // (name = "性别 1-男 2-女 3-未知")
    private Long gender;


    /** 用户类型 0-管理员 1-员工 */
    private String userType;
    /** 邮箱地址 */
    // (name = "邮箱地址")
    private String email;

    /** 手机号码 */
    // (name = "手机号码")
    private String mobile;

    /** 账号状态 1-启用 2-禁用 */
    // (name = "账号状态 1-启用 2-禁用")
    private Long status;

    /** 最后登录时间 */
    // (name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastLoginTime;

    /** 最后登录IP */
    // (name = "最后登录IP")
    private String lastLoginIp;


    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Long getGender() {
        return gender;
    }

    public void setGender(Long gender) {
        this.gender = gender;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }
}
